from aiogram_dialog import DialogManager

from weed_shop.infrastructure.database.services import DeliveryZoneService


async def delivery_zones_getter(dialog_manager: DialogManager, delivery_zone_service: DeliveryZoneService, **kwargs):
    delivery_zones = await delivery_zone_service.get_all_delivery_zones()

    return {
        "delivery_zones": delivery_zones,
    }
